<ul class="product-container">
	        <?php
						$product_for="kidswear";
						if(isset($_REQUEST['action']) and $_REQUEST['action']!='')
						{
							$action = security_on($_REQUEST['action']);
						}else{
							$action = '';
						}
						
						if($action == 'edit'){
							$get_product = "select * from product where `show` = 1 and `is_deleted` = 0 ";
							if($product_for!='')
							{
								$get_product.= " and `product_for`='$product_for'";
							}
							if(isset($_REQUEST['type']) and $_REQUEST['type']!='')
							{
								$type = security_on($_REQUEST['type']);
								$get_product.= " and `product_type`='$type'";
							}
							foreach($database->get_records($get_product) as $product){
							echo "<li class='product' id='".$product->p_id."'>
											<div class='product-image-wrapper'>
												<img style='z-index: 10;' src='".$product->product_path."' width='160' height='160' />
											</div>
											<p class='product-info'>".$product->product_title."</p>
											<span class='price-tag'>".$product->product_price."</span>
										</li>";
							}
						}
					?>
					<span class="clear"></span>
				</ul>
